package com.cjm.one.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjm.one.common.result.Result;
import com.cjm.one.model.goods.entity.GoodsSku;
import com.cjm.one.model.goods.enums.SortStrategyEnum;
import com.cjm.one.model.goods.vo.GoodsSkuVo;

public interface GoodsSkuService {
    Result<Page<GoodsSku>> pageList(Long current, Long size, Long categoryId, String name, SortStrategyEnum strategyEnum);

    Result<Page<GoodsSku>> pageListByCategoryId(Long categoryId, Long current, Long size);

    Result<Page<GoodsSkuVo>> pageListByCollection(Long current, Long size);

    Result<Page<GoodsSku>> pageListByCoupon(Long[] ids);
}
